<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php if (isset($title)){echo $title;}else{echo "";} ?></title>
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le styles -->
    <link href="/public/css/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
      }
    </style>
    <script type="text/javascript" src="/public/js/jquery.1.6.4.min.js"></script>
    <script type="text/javascript" src="/public/js/bootstrap-dropdown.js"></script>
    <script type="text/javascript" src="/public/js/bootstrap-twipsy.js"></script>



    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="images/favicon.ico">
    <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
  </head>

  <body>
  	
  	
	  	<div class="topbar">
		<div class="topbar-inner">
			<div class="container">
				<a class="brand" href="/">{ GameDevAssociation }</a>
				<ul class="nav">
						<li><a href="/index">Accueil</a></li>
						<li><a href="/membres">Membres</a></li>
						<li><a href="/tp">TP</a></li>
						<li><a href="/photos">Photos</a></li>
						<li><a href="/contact">Contact</a></li>
						<li class="dropdown" data-dropdown="dropdown" >
							<?php if (isset($_SESSION['login'])) { ?>
					    		<a href="#" class="dropdown-toggle">Profil (<?php echo $_SESSION['login']; ?>)</a>
							<?php } else { ?>
					    		<a href="#" class="dropdown-toggle">Profil</a>
							<?php } ?>
					    <ul  class="dropdown-menu">
					    <?php if (!isset($_SESSION['login'])) { ?>
					      <li><a href="/session/connexion">Connexion</a></li>
					      <li><a href="/session/inscription">Inscription</a></li>
					     <?php }else{ ?>
					      <li><a href="/session/connexion">Informations</a></li>
					      <li><a href="/session/inscription">Message</a></li>
					      <li class="divider"></li>
					      <li><a href="#">Deconnexion</a></li>
					      <?php } ?>
					    </ul>
					  </li>
				</ul>
			</div>
	    </div>
	</div>
	<script type="text/javascript">
		$().dropdown();
	</script>

  	
  	
	<div class="container">
		<div class="content">
			<form action="/" method="post" class="well" style="width: 50%; margin: 0 auto;">
				<h1><?php echo $title_h1; ?></h1>
				<p><?php echo $text_erreur; ?></p>
				<div class="actions" style="margin-top: 40px; margin-bottom: 0px;">
					<button class="btn primary" type="submit"><?php echo $text_ret;?></button>
				</div>
			</form>
		</div>
	</div>
	
	
	
        <footer style="text-align: center; margin-top: 80px;">
          <p>&copy; GameDevAssociation - Architecture avec <a id="framework" rel="twipsy" data-original-title="Envoyer un email" href="mailto:single_j@epitech.eu">Single</a> Framework</p>
        </footer>
		<script type="text/javascript">
			$('#framework').twipsy()
		</script>
  </body>
</html>
